import request from '@/utils/request'

// 查询公寓杂费管理列表
export function listMiscfees(query) {
  return request({
    url: '/miscfees/miscfees/list',
    method: 'get',
    params: query
  })
}

// 查询公寓杂费管理详细
export function getMiscfees(FeeID) {
  return request({
    url: '/miscfees/miscfees/' + FeeID,
    method: 'get'
  })
}

// 新增公寓杂费管理
export function addMiscfees(data) {
  return request({
    url: '/miscfees/miscfees',
    method: 'post',
    data: data
  })
}

// 修改公寓杂费管理
export function updateMiscfees(data) {
  return request({
    url: '/miscfees/miscfees',
    method: 'put',
    data: data
  })
}

// 删除公寓杂费管理
export function delMiscfees(FeeID) {
  return request({
    url: '/miscfees/miscfees/' + FeeID,
    method: 'delete'
  })
}
